﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web;

namespace CommonTagTime
{
    public static class clsQueryString
    {
        public static string GetString(string name)
        {
            string result = string.Empty;
            if (clsCheck.QueryString(name, enmDataType._String))
                result = HttpContext.Current.Request.QueryString[name].ToString();

            return result;       
        }

        public static int GetInt(string name)
        {
            int result = int.MinValue;
            if (clsCheck.QueryString(name, enmDataType._Int))
                result = clsConvert.Int(HttpContext.Current.Request.QueryString[name]);

            return result;
        }
    }
}


